import request from '@/utils/request'

// 查询环鄱赛-站点列表
export function listSkill(query) {
  return request({
    url: '/hps/skill/list',
    method: 'get',
    params: query
  })
}

// 查询环鄱赛-站点详细
export function getSkill(id) {
  return request({
    url: '/hps/skill/' + id,
    method: 'get'
  })
}

// 新增环鄱赛-站点
export function addSkill(data) {
  return request({
    url: '/hps/skill',
    method: 'post',
    data: data
  })
}

// 修改环鄱赛-站点
export function updateSkill(data) {
  return request({
    url: '/hps/skill',
    method: 'put',
    data: data
  })
}

// 删除环鄱赛-站点
export function delSkill(id) {
  return request({
    url: '/hps/skill/' + id,
    method: 'delete'
  })
}

// 导出环鄱赛-站点
export function exportSkill(query) {
  return request({
    url: '/hps/skill/export',
    method: 'get',
    params: query
  })
}

